#amk 2
#path "Eq-Boss"
#define "Louder" 1
#samples
{
	#Boss
	"String Ensemble.brr"
	"Conga 1.brr"
	"Choir Aahs.brr"
	"Tuba.brr"
	"Timpani.brr"
	"Sine Wave.brr"
	"Wind.brr"
	"Conga 2.brr"
	"Noise 1.brr"
	"Snare.brr"
	"Creepy Chords.brr"
	"Noise 2.brr"
	"Harpsichord.brr"
}
#instruments
{
	"String Ensemble.brr"	$00 $00 $31 $07 $82
	"String Ensemble.brr"	$00 $00 $78 $01 $E0
	"Conga 1.brr"		$00 $00 $78 $02 $00
	"Choir Aahs.brr"	$00 $00 $D0 $02 $F2
	"Choir Aahs.brr"	$F5 $EF $00 $02 $F2
	"Tuba.brr"		$FF $E7 $7F $03 $00
	"Timpani.brr"		$FF $EF $00 $03 $93
	"Sine Wave.brr"		$00 $00 $78 $08 $00
	"Sine Wave.brr"		$00 $00 $78 $04 $00
	"Wind.brr"		$00 $00 $28 $03 $66
	"Conga 2.brr"		$00 $00 $78 $03 $3F
	"Noise 1.brr"		$FF $9D $00 $03 $08
	"Noise 1.brr"		$FF $72 $00 $03 $08
	"Snare.brr"		$00 $00 $5A $02 $B5
	"Creepy Chords.brr"	$00 $00 $78 $02 $E7
	"Noise 2.brr"		$00 $00 $78 $02 $E8
	"Harpsichord.brr"	$FF $72 $00 $03 $0C
	"Harpsichord.brr"	$FF $B5 $00 $03 $0C
}
#spc
{
	#author    "Tim & Geoff Follin"
	#game      "Equinox"
	#title     "Boss"
	#length    "2:35"
	#comment   "Ported by Milon Luxy"
}


; ------------------------------------- ;
;	     Global Commands		;
; ------------------------------------- ;

;	Master Volume
	#if "Louder" == 0
	w162
	#endif

	#if "Louder" != 0
	w208
	#endif

;	Less Staccato
	$F4$02

;	See tempos on Channel 6


; ------------------------------------- ;
;		 Macros 		;
; ------------------------------------- ;

"String		= @30"
"StrBass	= @31"
"Conga1		= @32"
"Choir		= @33"
"ChoirRev	= @34"
"Tuba		= @35"
"Timpani	= @36"
"Sine		= @37"
"SineKick	= @38"
"Maracas	= @39"
"Conga2		= @40"
"HatClose	= @41"
"HatOpen	= @42"
"Snare		= @43"
"Chords		= @44"
"Noise		= @45"
"Piano		= @46"
"Piano2		= @47"
"!Detune	= $FA$02"
"!Gain		= $ED$80"
"!Legato	= $F4$01"
"Off		= $00"
"!Pan_Left	= $DC$80$00"
"!Pan_Right	= $DC$80$14"
"!Pan_Left2	= $DC$A0$00"
"!Pan_Right2	= $DC$A0$14"
"!Pan_Left3	= $DC$40$00"
"!Pan_Right3	= $DC$40$14"
"!Pan_Center	= $DC$40$0A"
"!Reset		= $F4$09"
"!Tremolo	= $E5$00$16$38"
"!Tremolo_Off	= $E5$00$00$00"
"!Vibrato	= $DE$00$16$F1"
"!Vibrato_Off	= $DF"
"!NoRC		= (!900,0)"


; ------------------------------------- ;
;	     Remote Commands		;
; ------------------------------------- ;

(!900)[!Reset] ; Restores Envelope.
(!901)[!Gain $90] ; Fast Release.
(!902)[!Gain $8E] ; Slow Release.


; ------------------------------------- ;
;		Channel 1		;
; ------------------------------------- ;

#0
/

; First section
Piano v208 y7 o4 l32
(1)[ [[q7C c+8 q75 c+16 q78 c+16]]2
q7C d16 q78 c+16 q75 < b16 q7C > e16 q78 d16 q75 c16 q7C d8 ]4
!Detune $02 *4
v150 *4

; Second section
(2)[!Detune Off
String v132
!Tremolo
!Legato
!Gain $D1
< g+ !Reset a g f g a a+ > c < a+ a a+ > c d d+ d c d d+ f16
!Gain $81
^2
!Gain $8B
^8
!Tremolo_Off
r2
!Reset]

; Rising noise coeficients
Noise
q7F v212 y5 o1
(20)[c+64 $DD$00$30$9C ^8...
>> d64 $DD$00$30$A4 ^8...
> c64 $DD$00$60$AE ^8...
f64 $DD$00$60$B2 ^8...]
(21)[a64 $DD$00$60$B7 ^8...
> d64 $DD$00$60$B8 ^8...
f64 $DD$00$60$BA ^8...
g+64 $DD$00$60$BB ^8...
a+64 $DD$00$60$BC ^8...]
(22)[b64 $DD$00$60$BE ^8...
> c+64 $DD$00$60$C0 ^8...
d64 $DD$00$60$C2 ^8...]
(23)[e64 $DD$00$60$C3 ^8...
f64 $DD$00$60$C4 ^8...
g64 $DD$00$60$C5 ^8...
g+64 $DD$00$60$C6 ^8...]
q7C v80
a64 $DD$00$60$C8 ^8...
!Legato

; Third section
Piano o4
[[ c d e f+ g+ a+ > c d e d c < a+ g+ f+ e d ]]8
v208 y7
[[ < f8 a8 > c+8 f8 a8 f8 c+8 < a8 ]]4

; Fourth section
v234
(1)4
[[r2]]12

; Final section
Maracas o6
(!900,-1) (!901,3)
[[ e r d+ r
!Legato
d16 c+64
!Legato
^64 r ]]20
!NoRC
r1

; ------------------------------------- ;
;		Channel 2		;
; ------------------------------------- ;

#1
/

; First section
Piano v222 y13 o3 l8
(3)[ q7C g+ q76 g+ q79 g+ q7C g+ f+ q79 f+ q7C e f+ ]4
!Detune $02 *4
v150 *4

; Second section
r64 (2)
Noise v255 y20 o6
!Pan_Left2 (20)
!Pan_Right2 (21)
!Pan_Left2 (22)
!Pan_Right2 (23)
!Pan_Left2
a64 $DD$00$60$C8 ^8..
!Legato

; Third section
Chords v224 y10 o3
[[ !Pan_Left
[b16. r16. b16. r16. b16. r16.
!Pan_Center
> c16. r16. c16. r32 c16. r32]
!Pan_Right * ]]2

; Fourth section
Piano v208 y13
r16 [[ [ < g b > d+ g g d+ < b ] g ]]3
* g16
v234 (3)4
[[r4]]33

; Final section
Snare
q7C > c8. q77 c8 c8.
q7C c8 q77 c16 q7C c8.
[[ r8 c8. q77 c8. ]]2
q77 c8 q7C c8. q78 c8
c8 c16 q7C c8 c16 c8.
r2..

; ------------------------------------- ;
;		Channel 3		;
; ------------------------------------- ;

#2
/

; First section
r1.
(!900,-1) (!902,3)
Tuba q79 y6 o4 l16
b r8. < b r8. c+1 c+ c+ r4.
< b r > d r f+ r < b r
!NoRC
!Reset
Timpani q7F y10 o2
[[ e4 < b4 ]]8
Conga2 d+2.
ChoirRev q7D o3 y11,0,1
b1 g+1 b1^4

; Second/ Third section
q7F y10
[Noise o4 e128 SineKick d+64 $DD$00$09$80 ^=8 HatClose o5 f HatOpen f HatClose f]52
r1

; Fourth section
*16
[[r2]]8

; Final section
*28
r1

; ------------------------------------- ;
;		Channel 4		;
; ------------------------------------- ;

#3
/

; First section
r1.
(!900,-1) (!902,3)
StrBass q78 o3 l16
b b r8 < b b r8 c+1 c+ c+ r4.
b r > d r f+ r < b r
!NoRC
!Reset
!Legato 
[ [[o4 d+32 $DD$00$07$8F ^32 d+32 $DD$00$07$8F ^32 d+32 $DD$00$07$8F ^32 < d+16]]2
> e32 $DD$00$07$90 ^32 e32 $DD$00$07$90 ^32 e32 $DD$00$07$90 ^32 < e16
> e32 $DD$00$07$90 ^16. < e8 ]4
!Gain $92 ^8 r8
!Reset
!Legato
ChoirRev q7D o3 y9,0,1
a+1^4 a+1 a+1 a+2

; Second/ Third section
StrBass y10
!Legato
[ [[o3 a+32 $DD$00$07$8A ^32 a+32 $DD$00$07$8A ^32 a+32 $DD$00$07$8A ^32 < a+16]]2
> b32 $DD$00$07$8B ^32 b32 $DD$00$07$8B ^32 b32 $DD$00$07$8B ^32 < b16
> b32 $DD$00$07$8B ^16. < b8 ]13
!Legato
Sine q73 y9 o1
!Vibrato
c16 $DD$00$05>>a+ ^8 a+16 $DD$00$03> a+ ^8
a+16 $DD$00$03> a+ ^8 a+16 $DD$00$03< a+ ^8
a+16 $DD$00$03>c ^16 c64 $DD$00$03a+ ^32. $DD$00$03>c ^64 $DD$00$03<a+ ^32. $DD$00$03>c ^64
!Vibrato_Off

; Fourth/ Final section
StrBass q7D y10
!Legato
[[ [o4 c+32 $DD$00$06$8D ^32 c+32 $DD$00$06$8D ^32 c+32 $DD$00$06$8D ^32 < c+16]2
> d32 $DD$00$06$8E ^32 d32 $DD$00$06$8E ^32 d32 $DD$00$06$8E ^32 < d16
> d32 $DD$00$06$8E ^16. < d8 ]]15
(!902,4) *
!Legato
r2.

; ------------------------------------- ;
;		Channel 5		;
; ------------------------------------- ;

#4
/

; First section
r1.
Timpani q79 v255 o3 y14 l16
c c8. c c8. d1
d d4.. c8 d+8 g8 c8
Sine q72 y10 o1
[!Legato
!Vibrato
!Pan_Right d+8 $DD$00$08$B3 ^8 o5 d+8 $DD$00$48$B0 ^4
!Pan_Left c4 $DD$00$80$AC ^4 < a4 $DD$00$80$A8 ^4
!Pan_Center f8 $DD$00$40$A6 ^4
!Legato
!Vibrato_Off]
String v200 *
Choir q7F v255 o3
(!900,-1) (!901,3)
[[ a+2^8. r b8. r a+2^8. r g+8. r ]]2
!NoRC
!Reset

; Second section
[Chords q7B v234
!Pan_Right3 f16. r16. f16. !Pan_Center r16. f16. r16.
!Pan_Left3 f+16. r16. f+16. !Pan_Center r32  f+16. r32]10

; Third section
[[ !Pan_Right3 Conga2 d8. Conga1 a+8. Conga2 d8
!Pan_Left3 Conga1 a+16 Conga2 < a16 > d16 < a16
!Pan_Center Conga1 > b16 Conga2 d+8 Conga1 b16 ]]4

; Fourth section
!Detune $03 *4
!Detune Off
[[r1]]8

; Final section
Piano2
[[ !Pan_Right3 g+ g+ g+ > g+8.
!Pan_Left3 < g+ g+ g+ g+ > g+8
!Pan_Center < a a > a8 ]]4

; ------------------------------------- ;
;		Channel 6		;
; ------------------------------------- ;

#5

; First section
;	Initial Tempo (115 bpm)
	t47
[r2]8
;	Tempo change 1 (117 bpm)
	t48
*16

; Second section
;	Tempo change 2 (120 bpm)
	t49
*12
;	Tempo change 3 (122 bpm)
	t50
*8

; Third section
;	Tempo change 4 (125 bpm)
	t51
*8
;	Tempo change 5 (127 bpm)
	t52
*8

; Fourth section
;	Tempo change 6 (129 bpm)
	t53
*16

; Final section
;	Tempo change 7 (132 bpm)
	t54
*8

/
*84
